package com.example.demo.mapper;


import com.example.demo.pojo.Catitems;
import com.example.demo.pojo.Swiperdata;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author yanglup
 * @create 2020-11-27 21:08
 */
@Mapper
public interface FirstpageMapper {
    /**轮播图*/
    @Select("select * from swiperdata;")
    List<Swiperdata> swiperdata();

    /**导航*/
    @Select("select * from catitems;")
    List<Catitems> catitems();

}
